﻿@model VietPremier.Models.AdminDestinationDetailModel

@{
    ViewBag.Title = "DestinationDetail";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="content container-fluid">
    		<div class="row-fluid">
    			<div class="span3">
                    @Html.Action("LeftMenu", "Home")
                    @Html.Partial("_Maps");
                    @Html.Action("Onlinesupport", "Home")
                    @Html.Action("News_Event", "Home")  
					<!--/ .box-->    
    			</div><!--/ .span3-->
   				<div class="span9">
                	<div class="link-page">
                    	<a href="@Url.Action("Index","Home")">Trang chủ&nbsp;<img src="@Url.Content("~/Content/cssFrontEnd/images/iconmt.png")" />&nbsp;</a>
                        <a href="@Url.Action("Index","Destination")">Thông tin du lịch&nbsp;<img src="@Url.Content("~/Content/cssFrontEnd/images/iconmt.png")">&nbsp;</a>
                        <a href="@Url.Action("DestinationCountryList", "Destination", new { title = Utilities.Encode(ViewBag.AreaName)})">@ViewBag.AreaName&nbsp;<img src="@Url.Content("~/Content/cssFrontEnd/images/iconmt.png")">&nbsp;</a>
                        <a href="@Url.Action("Destination","Destination",new{title = Utilities.Encode(ViewBag.CountryName), name = Utilities.Encode(ViewBag.AreaName)})">@ViewBag.CountryName&nbsp;<img src="@Url.Content("~/Content/cssFrontEnd/images/iconmt.png")">&nbsp;</a>
                     
                        <span>@Model.Name</span>
					</div>
                    <div class="box-about">
                    	<h1 class="title">@Model.Name</h1>
                  
                       @*<div id="products">
                                <div class="slides_container">
                                    @{
                                        int i = 0;
                                        foreach (var item in Model.listImage)
                                        {
                                            i = i + 1;

                                            var imageFile = "~/Content/upload/destination/";
                                            if (item._Image != null)
                                            {
                                                imageFile += @item._Image;
                                            }
                                            else
                                            {
                                                imageFile += "no-photo.jpg";
                                            }
                                        <a href="@Url.Content(imageFile)" rel="lightbox">
                                            <img src="@Url.Content(imageFile)" style="width:100px; height:100px" alt=""></a>
                                        }
                                    }
                                </div>
                                <ul class="pagination">
                                    @{
                                        foreach (var item in Model.listImage)
                                        {
                                            var imageFile = "~/Content/upload/destination/";
                                            if (item._Image != null)
                                            {
                                                imageFile += @item._Image;
                                            }
                                            else
                                            {
                                                imageFile += "no-photo.jpg";
                                            }
                                        <li><a href="#">
                                            <img src="@Url.Content(imageFile)" style="width:100px; height:100px" alt=""></a></li>
                                        }
                                    }
                                </ul>
                            </div>*@ 
                        @Html.Raw(Model.Body)                        
                      
                    </div><!--/ .box-about-->
                       @Html.Action("SameName", "Destination", new { id = Model.Id })
                       @*@Html.Action("Hotel","Destination")*@
                </div><!--/ .span9-->
            </div><!--/ .row-fluid-->            
   		 </div>
